package org.fuxia.im.gui;

import java.awt.BorderLayout;
import java.awt.Font;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JProgressBar;
import javax.swing.border.EmptyBorder;

import org.tony.common.ui.CommonFrame;

public class Logining extends CommonFrame
{

	private static final long	serialVersionUID	= 1L;
	private JPanel				contentPane;
	private JProgressBar		progressBar;

	/**
	 * Create the frame.
	 */
	public Logining()
	{
		super();
		setResizable(false);
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 279, 453);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		contentPane.setLayout(new BorderLayout(0, 0));
		setContent(contentPane);

		JPanel panel = new JPanel();
		contentPane.add(panel, BorderLayout.CENTER);
		panel.setLayout(null);

		JButton btnNewButton = new JButton("取消");
		btnNewButton.setFont(new Font("微软雅黑", Font.PLAIN, 13));
		btnNewButton.setBounds(89, 198, 75, 28);
		panel.add(btnNewButton);

		progressBar = new JProgressBar(0, 100);
		progressBar.setString("正在登录...");
		progressBar.setStringPainted(true);
		progressBar.setFont(new Font("微软雅黑", Font.PLAIN, 13));
		progressBar.setBounds(50, 139, 150, 30);
		progressBar.setIndeterminate(true);
		panel.add(progressBar);
	}
}
